const getters = {
  sidebar: (state) => state.app.sidebar,
  device: (state) => state.app.device,
  token: (state) => state.user.token,
  name: (state) => state.user.userInfo.userinfo?.username,
  userInfo: (state) => state.user.userInfo,
  avatar: (state) => state.user.userInfo.userinfo.avatar,
  subjectList: state => state.subject.subjectList,
  directoryList: state => state.subject.directoryList
}
export default getters
